package flc.ast.fragment;

import android.os.Bundle;

import androidx.fragment.app.Fragment;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.blankj.utilcode.util.FragmentUtils;
import com.huawei.hms.videoeditor.ui.template.module.TemplateHomeFragment;

import flc.ast.R;
import flc.ast.databinding.FragmentVideoBinding;
import stark.common.basic.base.BaseNoModelFragment;
import stark.common.basic.event.EventStatConstant;

/**
 * A simple {@link Fragment} subclass.
 * Use the {@link VideoFragment#newInstance} factory method to
 * create an instance of this fragment.
 */
public class VideoFragment extends BaseNoModelFragment<FragmentVideoBinding> {


    @Override
    protected int onCreate() {
        return R.layout.fragment_video;
    }
    @Override
    protected int getPageType() {
        return EventStatConstant.PAGE_TAB4;
    }

    @Override
    protected void initView() {

    }

    @Override
    protected void initData() {
        Fragment fragment = new TemplateHomeFragment();
        FragmentUtils.add(getChildFragmentManager(), fragment, R.id.flContainer);
    }
}